<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Kra8\Snowflake\HasSnowflakePrimary;

class PriceSpecification extends Model
{
    //
    //
    use SoftDeletes;
    use HasSnowflakePrimary;
    protected $fillable = [
        'name', 'user_id', 'province','city','area','cate','style','duration','price'
    ];
    public $incrementing = false;
    public function author(){
        return $this->belongsTo('App\Models\User','user_id');
    }
}
